package com.hstcs.game.desktop;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.tools.texturepacker.TexturePacker;
import com.badlogic.gdx.tools.texturepacker.TexturePacker.Settings;
import com.hstcs.assets.Config;
import com.hstcs.game.XGame;

public class DesktopLauncher {
	public static void main (String[] arg) {
		LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
		Config.set_1334_750();
		config.width = (int) Config._WIDTH;
		config.height = (int) Config._HEIGHT;
        Settings settings = new Settings();
        settings.maxWidth = 1024;
        settings.maxHeight = 512;
		TexturePacker.process(settings, "images", "../android/assets/skin", "mg");

		new LwjglApplication(XGame.getInstance(), config);
	}
}
